package com.demo.rydemo.d_user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author ry
 * @since 2020-07-31
 */
@ApiModel
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DUser implements Serializable {



    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty(value ="用户ID")
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    /**
     * 用户账号
     */
    @ApiModelProperty(value ="用户账号",example = "admin")
    private String userAccount;

    /**
     * 用户密码
     */
    @ApiModelProperty(value ="用户密码",example = "admin123")
    private String userPassword;

    /**
     * 邮箱
     */
    @ApiModelProperty(value ="邮箱")
    private String userEmail;

    /**
     * 手机
     */
    @ApiModelProperty(value ="手机")
    private String userPhone;

    /**
     * 最后一次登录时间
     */
    @ApiModelProperty(value ="最后一次登录时间",example = "2020-08-05 16:00:00")
    private Date userLastLoginTime;

    /**
     * 用户状态
     */
    @ApiModelProperty(value ="用户状态")
    private String userStatus;

}
